package com.rongji.dfish.ui.form;

/**
 * 单选项。
 * @author DFish Team
 *
 */
public class Radio extends   AbstractBox<Radio> {
	
	/**
	 * @param name
	 * @param label
	 * @param checked
	 * @param value
	 * @param text
	 */
	public Radio(String name, String label, Boolean checked, String value,
			String text) {
		super(name, label, checked, value, text);
	}

	@Override
	public String getType() {
		return "radio";
	}

	@Override
	public Radio setValue(Object value) {
		this.value=toString(value);
		return this;
	}
	


}
